<ng-container *ngIf="tagData.cssType==='4'">
  <section [ngStyle]="tagData.data[1].cssStyle | styleFilter ">
    <div class="banner-box">
      <p class="title-p" *ngIf="tagData.data&&tagData.data[2]">{{tagData.data[2].title}}</p>
      <p class="subtitle-p" *ngIf="tagData.data&&tagData.data[2]">{{tagData.data[2].subTitle}}</p>
      <div class="bottom-panel">
        <button class="btn-recommand" appDebounceClick (debounceClick)="gotoPage(tagData.data[0])"><label
            class="btn-label">{{tagData.data[0].label}}</label></button>
        <img class="bottom-right-img" src="{{tagData.data[0].imageUrl}}"
          onerror="this.src='assets/laijian/home_icon@3x.png'" />
      </div>
    </div>
  </section>
</ng-container>

<ng-container *ngIf="tagData.cssType==='3'">
  <section [ngStyle]="tagData.data[1].cssStyle | styleFilter ">
    <div class="banner-box-new">
      <p class="title-new" *ngIf="tagData.data&&tagData.data[2]">{{tagData.data[2].title}}</p>
      <p class="subtitle-new" *ngIf="tagData.data&&tagData.data[2]">{{tagData.data[2].subTitle}}</p>
      <div class="bottom-panel">
        <button class="btn-recommand-new" appDebounceClick (debounceClick)="gotoPage(tagData.data[0])"><label
            class="btn-label-new">{{tagData.data[0].label}}</label></button>
        <img class="bottom-right-img" src="{{tagData.data[0].imageUrl}}"
          onerror="this.src='assets/laijian/home_icon@3x.png'" />
      </div>
    </div>
  </section>
</ng-container>